<template>
  <div class="home">
    <Lift></Lift>
    <div class="right">
      <div>
        <el-carousel height="300px">
      <el-carousel-item v-for="item in 4" :key="item">
        <div class="small">{{ item }}</div>
      </el-carousel-item>
    </el-carousel>
      </div>
      <div class="blackboard">
        <div class="title">活动公告栏</div>
      </div>
    </div>
  </div>
</template>

<script>
// @ is an alias to /src
import Lift from '@/components/LiftComponent.vue'

export default {
  name: 'HomeView',
  components: {
    Lift
  }
}
</script>
<style scoped>
.home{
  display: flex;
  width: 100%;
}
.right{
  width: calc(100% - 353px);
  background-color: rgba(206, 206, 206, 1);
}
.small{
  background: red;
  width: 100%;
  height: 100%;
}
.blackboard{
  width: 1140px;
  height: 390px;
  background: #fff;
  margin: 5px auto;
}
.title{
  color: rgba(16, 16, 16, 1);
  font-size: 36px;
  text-align: center;
  padding-top: 23px;
}
</style>
